Understanding Programming Language Concepts Via Operational Semantics
نویسنده
چکیده
The origins of \formal methods" lie partly in language description (although applications of methods like VDM, RAISE or B to areas other than programming languages are probably more widely known). This paper revisits the language description task but uses operational (rather than denotational) semantics to illustrate that the crucial idea is thinking about an abstract model of something that one is trying to understand or design. A \story" is told which links together some of the more important concepts in programming languages and thus illustrates how formal semantics deepens our understanding. © 2007 University of Newcastle upon Tyne. Printed and published by the University of Newcastle upon Tyne, Computing Science, Claremont Tower, Claremont Road, Newcastle upon Tyne, NE1 7RU, England. Bibliographical details
منابع مشابه
Black tie optional: Modelling programming language concepts
This paper describes an undergraduate course taught at the University of Newcastle upon Tyne; the title of the module is Understanding Programming Languages. The main thrust of the course is to understand how to model features of language semantics. Specifically, (structural) operational semantics (SOS) is taught as a convenient and notational light way of recording and experimenting with featu...
متن کاملA Verification Approach from MDE Applied to Model Based Systems Engineering: xeFFBD Dynamic Semantics
syntaxes of DSMLs partially define language semantics through their underlying structure and the vocabulary naming concepts and relationships. Unfortunately, such semantics may sometimes be ambiguous, since different engineers may have different understanding of a single model. Therefore, in order to have equal and non-ambiguous understanding, it is essential to define in a precise and non-ambi...
متن کاملOperational Semantics for Agent Communication Languages
In this paper, we study the operational semantics of agent communication languages.We develop a basic multi-agent programming language for systems of concurrently operating agents, into which agent communication languages can be integrated. In this language, each agent has a mental state comprised of an informational component and a motivational component; interaction between the agents proceed...
متن کاملComments on several years of teaching of modelling programming language concepts
This paper describes an undergraduate course taught at the University of Newcastle upon Tyne titled Understanding Programming Languages. The main thrust of the course is to understand how language concepts can be modelled and explored using semantics. Specifically, structural operational semantics (SOS) is taught as a convenient and light-weight way of recording and experimenting with features ...
متن کاملUsing, Understanding, and Unraveling the OCaml Language. From Practice to Theory and Vice Versa
These course notes are addressed to a wide audience of people interested in modern programming languages in general, ML-like languages in particular, or simply in OCaml, whether they are programmers or language designers, beginners or knowledgeable readers —little prerequiresite is actually assumed. They provide a formal description of the operational semantics (evaluation) and statics semantic...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2007